namespace Maple.Branch.Features
{
    using Consts;
    using Microsoft.Extensions.DependencyInjection;
    using Volo.Abp.Http.Client;
    using Volo.Abp.Modularity;

    [DependsOn(typeof(FeaturesAppModule),
        typeof(AbpHttpClientModule))]
    public class FeaturesWebClientModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.AddHttpClientProxies(
                typeof(FeaturesAppModule).Assembly,
                FeaturesModuleConsts.RemoteServiceName
            );
        }
    }
}
